package com.axzhengxin.platform.sysDicData.controller;

import com.axzhengxin.platform.sysDicData.domain.SysDictDataBus;
import com.axzhengxin.platform.sysDicData.service.SysDictDataBusService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @Author AHZJ0005
 * @Date 2021/3/2-15:51
 **/
@RestController
@RequestMapping("/SysDicDataBus")
public class SysDicDataController {

    @Autowired
    private SysDictDataBusService sysDictDataService;

    @RequestMapping("/list")
    public List<SysDictDataBus> list(){

        return sysDictDataService.list();
    }
}
